package com.jeesite.modules.common.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;


/**
 * 任务主体
 * @author code maker
 */
@ApiModel(value="任务主体",description="任务主体")
public class OtsSubject implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	/**
	 * 租户ID
	 */
	@ApiModelProperty(value="租户ID",name="compid")
	private Long compid;
	
	/**
	 * 任务ID
	 */
	@ApiModelProperty(value="任务ID(自增长主键)",name="taskid")
	private Long taskid;
	
	/**
	 * 类别(0:执行主体,1:关注主体,2:协办人,3:牵头人,4:分管领导；5责任科室、6协作科室)
	 */
	@ApiModelProperty(value="类别(0:执行主体,1:关注主体,2:协办人,3:牵头人,4:分管领导，5责任科室、6协作科室)",name="flag")
	private Integer flag;
	
	/**
	 * 主体类型(0:用户,1:机构/组/部门,2:角色)
	 */
	@ApiModelProperty(value="主体类型(0:用户,1:机构/组/部门,2:角色)",name="sjtype")
	private Integer sjtype;
	
	/**
	 * 主体ID(用户ID、角色ID、机构ID等等)
	 */
	@ApiModelProperty(value="主体ID(用户ID、角色ID、机构ID等等)",name="subjectid")
	private Long subjectid;
	
	/**
	 * 主体名称
	 */
	@ApiModelProperty(value="主体名称",name="subjectname")
	private String subjectname;


	/**
	 * 执行人退回了任务取值-1
	 */
	@ApiModelProperty(value="执行人退回了任务取值-1",name="remarks1")
	private Integer remarks1=0;
	
	/**
	 * 执行人被删除了取值-1
	 */
	@ApiModelProperty(value="执行人被删除了取值-1",name="remarks2")
	private Integer remarks2=0;
	
	/**
	 * 备注3
	 */
	@ApiModelProperty(value="备注3",name="remarks3")
	private String remarks3="";
	
	/**
	 * 备注3
	 */
	@ApiModelProperty(value="备注3",name="remarks4")
	private String remarks4="";
	
	/**
	 * 备注3
	 */
	@ApiModelProperty(value="备注3",name="remarks5")
	private String remarks5="";
	
	/**
	 * 备注3
	 */
	@ApiModelProperty(value="备注3",name="remarks6")
	private String remarks6="";


    /**
     * setter for compid
     * @param compid
     */
	public void setCompid(Long compid) {
		this.compid = compid;
	}

    /**
     * getter for compid
     */
	public Long getCompid() {
		return compid;
	}

    /**
     * setter for taskid
     * @param taskid
     */
	public void setTaskid(Long taskid) {
		this.taskid = taskid;
	}

    /**
     * getter for taskid
     */
	public Long getTaskid() {
		return taskid;
	}

    /**
     * setter for flag
     * @param flag
     */
	public void setFlag(Integer flag) {
		this.flag = flag;
	}

    /**
     * getter for flag
     */
	public Integer getFlag() {
		return flag;
	}

    /**
     * setter for sjtype
     * @param sjtype
     */
	public void setSjtype(Integer sjtype) {
		this.sjtype = sjtype;
	}

    /**
     * getter for sjtype
     */
	public Integer getSjtype() {
		return sjtype;
	}

    /**
     * setter for subjectid
     * @param subjectid
     */
	public void setSubjectid(Long subjectid) {
		this.subjectid = subjectid;
	}

    /**
     * getter for subjectid
     */
	public Long getSubjectid() {
		return subjectid;
	}

    /**
     * setter for subjectname
     * @param subjectname
     */
	public void setSubjectname(String subjectname) {
		this.subjectname = subjectname;
	}

    /**
     * getter for subjectname
     */
	public String getSubjectname() {
		return subjectname;
	}

    /**
     * setter for remarks1
     * @param remarks1
     */
	public void setRemarks1(Integer remarks1) {
		this.remarks1 = remarks1;
	}

    /**
     * getter for remarks1
     */
	public Integer getRemarks1() {
		return remarks1;
	}

    /**
     * setter for remarks2
     * @param remarks2
     */
	public void setRemarks2(Integer remarks2) {
		this.remarks2 = remarks2;
	}

    /**
     * getter for remarks2
     */
	public Integer getRemarks2() {
		return remarks2;
	}

    /**
     * setter for remarks3
     * @param remarks3
     */
	public void setRemarks3(String remarks3) {
		this.remarks3 = remarks3;
	}

    /**
     * getter for remarks3
     */
	public String getRemarks3() {
		return remarks3;
	}

    /**
     * setter for remarks4
     * @param remarks4
     */
	public void setRemarks4(String remarks4) {
		this.remarks4 = remarks4;
	}

    /**
     * getter for remarks4
     */
	public String getRemarks4() {
		return remarks4;
	}

    /**
     * setter for remarks5
     * @param remarks5
     */
	public void setRemarks5(String remarks5) {
		this.remarks5 = remarks5;
	}

    /**
     * getter for remarks5
     */
	public String getRemarks5() {
		return remarks5;
	}

    /**
     * setter for remarks6
     * @param remarks6
     */
	public void setRemarks6(String remarks6) {
		this.remarks6 = remarks6;
	}

    /**
     * getter for remarks6
     */
	public String getRemarks6() {
		return remarks6;
	}

    /**
     * OtsSubjectEntity.toString()
     */
    @Override
    public String toString() {
        return "OtsSubjectEntity{" +
               "compid='" + compid + '\'' +
               ", taskid='" + taskid + '\'' +
               ", flag='" + flag + '\'' +
               ", sjtype='" + sjtype + '\'' +
               ", subjectid='" + subjectid + '\'' +
               ", subjectname='" + subjectname + '\'' +
               ", remarks1='" + remarks1 + '\'' +
               ", remarks2='" + remarks2 + '\'' +
               ", remarks3='" + remarks3 + '\'' +
               ", remarks4='" + remarks4 + '\'' +
               ", remarks5='" + remarks5 + '\'' +
               ", remarks6='" + remarks6 + '\'' +
               '}';
    }

}
